package org.example.springmybatisdemo.entity;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Schema(description = "部门信息")
public class Dept {
    @Schema(description = "部门ID", example = "1")
    private Integer id;
    @Schema(description = "部门名称", example = "研发部")
    private String name;
    @Schema(description = "创建时间")
    private LocalDateTime createTime;
    @Schema(description = "更新时间")
    private LocalDateTime updateTime;
}
